package a05_mediator;

public abstract class AbstractColleague {
	private String name;

	void setName(String name) {
		this.name = name;
	}

	// 把类间的交互交给中介者
	abstract void setName(String name, Mediator m);

	public String getName() {
		return name;
	}
}
